package com.yanfan.patrol.domain;

import java.util.Date;

import lombok.Data;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 巡更班次对象 ibms_patrol_shift
 *
 * @author lzb
 * @date 2024-08-26
 */

@Data
public class IbmsPatrolShift implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @Excel(name = "主键id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 班次名称
     */
    @Excel(name = "班次名称")
    private String shiftName;

    /**
     * 巡更开始时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "巡更开始时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 巡更结束时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "巡更结束时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


}
